beginoutdoorscript;

variables;

body;

beginstate 0; //INIT_STATE
break;

beginstate 1; //EXIT_STATE
break;

beginstate 2; //START_STATE
	//get rid of the ship
	if((get_flag(54,0) == 1) && (get_terrain(8,3) == 487)) {
		set_terrain(8,3,0);
		set_terrain(9,3,0);
		}
break;

beginstate 10; //don't charge at the ships
	if(get_flag(54,0) != 0)
		end();
	message_dialog("Charging directly at the Loyalist ships, while perhaps brave in some circles, is probably suicidal.","You turn back.");
	block_entry(1);
break;